package com.cy.ssm.service;

import com.cy.ssm.mapper.ItemMapper;
import com.cy.ssm.pojo.Item;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ItemServiceImpl  implements ItemService{
    @Autowired
    private ItemMapper itemMapper;
    public List<Item> list(Integer num) {
        return itemMapper.list(num);
    }
}
